Siebrand Mazeland [Sat, 16 Aug 2008 11:39:29 +0000 (11:39 +0000)]
Localisation updates for core messages from Betawiki (2008-08-16 13:21 CEST)
Alexandre Emsenhuber [Sat, 16 Aug 2008 11:28:24 +0000 (11:28 +0000)]
fix for last commit: the (bool) is not needed
Alexandre Emsenhuber [Sat, 16 Aug 2008 11:25:42 +0000 (11:25 +0000)]
tweak for r39376: do not show the check box "remember my password" if $wgEnablePersistentCookies is set to false
Fran Rogers [Sat, 16 Aug 2008 10:13:35 +0000 (10:13 +0000)]
Fix for problems with r39414; LinkHolderArray::replaceInterwiki() was badly broken
Shinjiman [Sat, 16 Aug 2008 10:09:18 +0000 (10:09 +0000)]
sequel of r38784, adding the test case for the 'submit' action
patch by PhiLiP
Shinjiman [Sat, 16 Aug 2008 10:02:28 +0000 (10:02 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Siebrand Mazeland [Sat, 16 Aug 2008 09:33:11 +0000 (09:33 +0000)]
Revert r39414. Breaks processing links like [[:wikipedia:nl:User:Siebrand|Dutch language Wikipedia]]. It will add a comment like "<!--IWLINK 0-->" in the HTML output. Happens even if there is one such link on a page.
Fran Rogers [Sat, 16 Aug 2008 09:09:45 +0000 (09:09 +0000)]
Self-revert for now; Splarka made a good point.
Fran Rogers [Sat, 16 Aug 2008 09:00:38 +0000 (09:00 +0000)]
Use the 'postcomment' message consistently across skins
Aaron Schulz [Fri, 15 Aug 2008 19:42:45 +0000 (19:42 +0000)]
Support {{Special:AllPages/x}} rather than defaulting to main index
Aaron Schulz [Fri, 15 Aug 2008 19:02:48 +0000 (19:02 +0000)]
Decouple from allpages a little to avoid E_STRICT notices
Aaron Schulz [Fri, 15 Aug 2008 18:28:54 +0000 (18:28 +0000)]
double-check with isLocal() to be safe
Rotem Liss [Fri, 15 Aug 2008 17:57:51 +0000 (17:57 +0000)]
Localization update.
Aaron Schulz [Fri, 15 Aug 2008 17:55:17 +0000 (17:55 +0000)]
Rewrite allpages to use a "tree" of index range subpages (similar to the starting page) rather than one increasingly large range list (bug 13902)
Alexandre Emsenhuber [Fri, 15 Aug 2008 16:51:46 +0000 (16:51 +0000)]
Fixes for r39406:
* Set missing properties svn:eol-style and svn:mime-type
* Use auto loader if possible
* Added $wgEnableHtmlDiff to DefaultSettings.php (todo: fix description of this setting)
Tim Starling [Fri, 15 Aug 2008 16:35:03 +0000 (16:35 +0000)]
* In the parser: do link existence tests in batches of 1000. Avoids using excessive memory to store Title objects.
* Split link placeholder/replacement handling into a separate object, LinkHolderArray.
* Remove Title objects from LinkCache, they apparently weren't being used at all. Same unconstrained memory usage as the former $parser->mLinkHolders.
* Introduced ExplodeIterator -- a workalike for explode() which doesn't use a significant amount of memory
* Introduced StringUtils::explode() -- select whether to use the simulated or native explode() depending on how many items there are
* Migrated most instances of explode() in Parser.php to StringUtils::explode()
* Renamed some variables in Parser::doBlockLevels()
* In Parser.php: $fname => __METHOD__, Parser => self/__CLASS__, to support Parser_DiffTest more easily
* Doc update in includes/MessageCache.php for r39412
* MW_TITLECACHE_MAX => Title::CACHE_MAX, nicer name, easier to access from another module
Tim Starling [Fri, 15 Aug 2008 16:03:38 +0000 (16:03 +0000)]
Added shortOutput option.
Tim Starling [Fri, 15 Aug 2008 16:02:00 +0000 (16:02 +0000)]
Don't use $wgParser when {{int:}} is called, use $parser->replaceVariables() instead. Removes an unnecessary potential $wgTitle reference, and fixes Parser_DiffTest.
Tim Starling [Fri, 15 Aug 2008 15:57:17 +0000 (15:57 +0000)]
Update for revert to old link trail
Tim Starling [Fri, 15 Aug 2008 15:56:48 +0000 (15:56 +0000)]
Avoid notice when no categories are present
Guy Van den Broeck [Fri, 15 Aug 2008 11:46:46 +0000 (11:46 +0000)]
New implementation of wikidiff3 algorithm replacing the previous one and basic HTML diffing support, both integrated with DifferenceEngine
Chad Horohoe [Fri, 15 Aug 2008 01:54:59 +0000 (01:54 +0000)]
* Bug 12976: Use $WebResponse->setCookie() rather than raw setcookie() calls.
* Moved all of the debugging/logic to WebResponse so it can be properly used elsewhere.
* A bit of cleanup so cookies set by $wgUser->setCookie() use $wgCookiePath as they should.
* Bug 14887: $wgEnablePersistentCookies has been added to allow for disabling of persistent cookies.
Brion Vibber [Thu, 14 Aug 2008 23:33:02 +0000 (23:33 +0000)]
* Avoid recursive crazy expansions in section edit comments for pages which contain '/*' in the title
while( preg_match ) <- bad
preg_replace_callback <- good
Old method made insane expansions like this on 'Wikipedia:Translation/*/Lang/de':
(cur) (last) 2008-08-14T22:23:48 Carcharoth (Talk | contribs | block) (12,310 bytes) (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - →/Lang/de#.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang[...and on for another 30k characters...]#Latest_translation_requests" title="Wikipedia:Translation/: Lang/de">→Latest translation requests: add request) (rollback | undo)
Ryan Schmidt [Thu, 14 Aug 2008 21:55:17 +0000 (21:55 +0000)]
* $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
$wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
group in order to add or remove those groups from themselves.
Backwards compatibility is maintained.
* Added hook 'UserrightsChangeableGroups' to allow modification of what
groups may be added or removed via the Special:UserRights interface.
Rotem Liss [Thu, 14 Aug 2008 20:07:20 +0000 (20:07 +0000)]
Localization revert.
Raimond Spekking [Thu, 14 Aug 2008 20:00:37 +0000 (20:00 +0000)]
Revert r39359 "Add a few handy links to the special pages" by hint of Nikerabbit. Messages are used for permissionserrorstext-withaction too.
Rotem Liss [Thu, 14 Aug 2008 19:50:50 +0000 (19:50 +0000)]
Localization fix.
Rotem Liss [Thu, 14 Aug 2008 19:49:52 +0000 (19:49 +0000)]
Localization update.
Huji [Thu, 14 Aug 2008 19:43:03 +0000 (19:43 +0000)]
Localisation updates: Adding/updating Persian translations
Raimond Spekking [Thu, 14 Aug 2008 19:42:52 +0000 (19:42 +0000)]
Add a few handy links to the special pages
Huji [Thu, 14 Aug 2008 19:03:50 +0000 (19:03 +0000)]
Localisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 19:02:23 +0000 (19:02 +0000)]
Localisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 18:52:28 +0000 (18:52 +0000)]
Localisation updates: Adding/updating Persian translations
Tim Starling [Thu, 14 Aug 2008 15:50:59 +0000 (15:50 +0000)]
Script to generate the numbers used in the release announcement
Rotem Liss [Thu, 14 Aug 2008 14:03:37 +0000 (14:03 +0000)]
Localization update for he.
Huji [Thu, 14 Aug 2008 13:03:53 +0000 (13:03 +0000)]
Localisation updates: Adding/updating Persian translations
Shinjiman [Thu, 14 Aug 2008 02:50:16 +0000 (02:50 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13
Shinjiman [Thu, 14 Aug 2008 02:46:05 +0000 (02:46 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Thu, 14 Aug 2008 00:18:21 +0000 (00:18 +0000)]
* Fix location of $ip check
* Add User::mailPasswordInternal hook for bug 14630
Siebrand Mazeland [Thu, 14 Aug 2008 00:08:26 +0000 (00:08 +0000)]
Localisation updates for core messages from Betawiki (2008-08-14 01:57 CEST)
Aaron Schulz [Wed, 13 Aug 2008 23:34:56 +0000 (23:34 +0000)]
update comment
Siebrand Mazeland [Wed, 13 Aug 2008 23:08:22 +0000 (23:08 +0000)]
(bug 15157) Special:Watchlist now has the same options as Special:Watchlist:
* Show/Hide logged in users
* Show/Hide anonymous
* Invert namespace selection
* Same ordering of options
Code comments: Toggles added in Preferences, messages added, code ordered as presented in special page
Aaron Schulz [Wed, 13 Aug 2008 22:29:17 +0000 (22:29 +0000)]
I really don't like the idea of invalid IPs sending these passwords out
Aaron Schulz [Wed, 13 Aug 2008 16:51:37 +0000 (16:51 +0000)]
add HexToOct()
Chad Horohoe [Wed, 13 Aug 2008 16:23:41 +0000 (16:23 +0000)]
Catch php installs who have proc_open() disabled.
Chad Horohoe [Wed, 13 Aug 2008 15:40:47 +0000 (15:40 +0000)]
(bug 15141) - Give "cascadeonly" checkbox on Special:ProtectedPages.
Aryeh Gregor [Wed, 13 Aug 2008 15:11:36 +0000 (15:11 +0000)]
Fix regression from r37834: accesskey tooltip hint should be given for the minor edit and watch labels on the edit page. This code could still use refactoring, but that's a separate issue. :)
I relied on the fact that $n is usable to catch back-references in JavaScript replacement text -- this seems to work in latest-ish versions of Firefox, Konqueror, and Opera, so I'm assuming it works everywhere. ;) As usual, the Web gives tons of dodgy-looking cookbooks with no useful info whenever I try to search for anything JavaScript-related.
Since I'm backporting this to 1.13 as a regression fix, this fix causes no change from 1.12 or 1.13 and so I'm not putting it in the release notes.
Aryeh Gregor [Wed, 13 Aug 2008 14:52:40 +0000 (14:52 +0000)]
Cleanup some of my old code a bit. These should still be replaced with nicer functions altogether, though, as Brion would have it.
Rotem Liss [Wed, 13 Aug 2008 08:10:24 +0000 (08:10 +0000)]
Localization fixes.
Rotem Liss [Wed, 13 Aug 2008 07:38:17 +0000 (07:38 +0000)]
Localization: Partial revert, this is a single message.
Siebrand Mazeland [Wed, 13 Aug 2008 06:48:28 +0000 (06:48 +0000)]
Partially reverting 39272 (only messages where <span class> was added. This is really messy with regards to localisation. See ImagePage.php or SpecialMovepage.php on how this code be resolved less ugly.
Purodha B Blissenbach [Wed, 13 Aug 2008 03:13:00 +0000 (03:13 +0000)]
Addings and removing plainlinks class
Fran Rogers [Wed, 13 Aug 2008 02:56:04 +0000 (02:56 +0000)]
Updated release notes to reflect features added in r39269 and r39121
Fran Rogers [Wed, 13 Aug 2008 02:37:34 +0000 (02:37 +0000)]
Per bug 15146, allow additional syntax for Special:Listusers URLs.
- Special:ListUsers/GROUP - if GROUP is a valid group name; the old syntax
- Special:ListUsers/USER
- Special:ListUsers/GROUP/USER
'*' and 'user' can be used as a GROUP for all users.
Aaron Schulz [Wed, 13 Aug 2008 02:09:10 +0000 (02:09 +0000)]
revert bogus change
Aaron Schulz [Wed, 13 Aug 2008 02:05:24 +0000 (02:05 +0000)]
use $sourcePath here too
Aaron Schulz [Wed, 13 Aug 2008 02:02:36 +0000 (02:02 +0000)]
use getArchivePath()
Aryeh Gregor [Wed, 13 Aug 2008 01:53:03 +0000 (01:53 +0000)]
(bug 15128) Documentation for xmlEncode is wrong, it's not static.
Aaron Schulz [Wed, 13 Aug 2008 01:24:03 +0000 (01:24 +0000)]
use makeTitleSafe()
Aaron Schulz [Wed, 13 Aug 2008 01:11:45 +0000 (01:11 +0000)]
we need a $title here
Aaron Schulz [Wed, 13 Aug 2008 01:01:58 +0000 (01:01 +0000)]
check 'archived' param
Siebrand Mazeland [Tue, 12 Aug 2008 21:10:49 +0000 (21:10 +0000)]
Localisation updates for core messages from Betawiki (2008-08-12 22:18 CEST)
Brion Vibber [Tue, 12 Aug 2008 20:13:45 +0000 (20:13 +0000)]
Revert r39198 "* (bug 15128) Feed:xmlEncode() function now declared as static"
FeedItem::xmlEncode() is only called *non*-statically
Siebrand Mazeland [Tue, 12 Aug 2008 20:10:49 +0000 (20:10 +0000)]
Localisation updates for core from Betawiki
Aaron Schulz [Tue, 12 Aug 2008 17:32:37 +0000 (17:32 +0000)]
$thumb could be null
Raimond Spekking [Tue, 12 Aug 2008 13:19:28 +0000 (13:19 +0000)]
Use formatNum for another number
Raimond Spekking [Tue, 12 Aug 2008 11:38:17 +0000 (11:38 +0000)]
Use formatNum for another number
Niklas Laxström [Tue, 12 Aug 2008 10:14:09 +0000 (10:14 +0000)]
* More helpful error messages
Rotem Liss [Tue, 12 Aug 2008 08:27:38 +0000 (08:27 +0000)]
Localization update for he.
Tim Starling [Tue, 12 Aug 2008 03:10:07 +0000 (03:10 +0000)]
By default, reject file uploads that look like ZIP files, to avoid the so-called GIFAR vulnerability.
Shinjiman [Tue, 12 Aug 2008 02:40:17 +0000 (02:40 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13
Ryan Schmidt [Tue, 12 Aug 2008 01:47:05 +0000 (01:47 +0000)]
* (bug 15128) Feed:xmlEncode() function now declared as static
Robert Leverington [Tue, 12 Aug 2008 00:39:15 +0000 (00:39 +0000)]
* Update RELEASE-NOTES for r39194.
Robert Leverington [Tue, 12 Aug 2008 00:25:35 +0000 (00:25 +0000)]
* (bug 15127) Add an additional space between the directionality marker and summary as Opera 9.50 and greater does not display the space. This is a safe work around as all other browsers will simply ignore this extra space.
Siebrand Mazeland [Mon, 11 Aug 2008 21:55:22 +0000 (21:55 +0000)]
(bug 14790) Export of category pages when using Category: prefix now actually gives results. makeTitleSafe() is only used to protect against nasty input, so use NS_MAIN which is empty. Any namespace prefix in the input will be stripped in wfExportGetPagesFromCategory() by getDBkey().
Brion Vibber [Mon, 11 Aug 2008 18:10:38 +0000 (18:10 +0000)]
Fix fatal error regression from r39077 -- 'break 2' must become 'break' when the second-level switch() is removed :)
Brion Vibber [Mon, 11 Aug 2008 18:08:01 +0000 (18:08 +0000)]
toogle -> toggle
Tim Starling [Mon, 11 Aug 2008 17:24:35 +0000 (17:24 +0000)]
Fixed incorrect detection of PHP's DOM module (bug 13770)
Shinjiman [Mon, 11 Aug 2008 16:38:09 +0000 (16:38 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Alexandre Emsenhuber [Mon, 11 Aug 2008 16:24:51 +0000 (16:24 +0000)]
(bug 15101) Displaying only bots edits in Special:Recentchanges now works again
Chad Horohoe [Mon, 11 Aug 2008 15:44:59 +0000 (15:44 +0000)]
More of the ongoing war against mkdir() in favor of wfMkdirParents()
Raimond Spekking [Mon, 11 Aug 2008 14:40:59 +0000 (14:40 +0000)]
Remove unused message 'redirectingto'
Aaron Schulz [Mon, 11 Aug 2008 14:20:37 +0000 (14:20 +0000)]
Add prependHTML() for extensions to avoid direct field calls
Aaron Schulz [Mon, 11 Aug 2008 13:47:10 +0000 (13:47 +0000)]
finish previous commit
Aaron Schulz [Mon, 11 Aug 2008 13:41:52 +0000 (13:41 +0000)]
Fix broken execution order. Setting the bodytext variable once already sent doesn't work.
Aaron Schulz [Mon, 11 Aug 2008 13:23:45 +0000 (13:23 +0000)]
Add getRevisionId()
Siebrand Mazeland [Mon, 11 Aug 2008 10:06:54 +0000 (10:06 +0000)]
(bug 14929) Add two command line switches to removeUnusedAccounts.php:
--ignore-touched=x : Ignore accounts touched within the lasts x days\n" );
--ignore-groups=x,y : Ignore accounts within these groups\n" );
Patch submitted by: Louperivois
Fran Rogers [Mon, 11 Aug 2008 08:30:29 +0000 (08:30 +0000)]
Addressing concerns in r39801 regarding editnotices; the message names now use dbkeys instead, and wfMsgForContent is now used consistently.
Fran Rogers [Mon, 11 Aug 2008 04:39:00 +0000 (04:39 +0000)]
Updated Doxygen docs for Title.php
Shinjiman [Mon, 11 Aug 2008 00:25:29 +0000 (00:25 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13
Brion Vibber [Sun, 10 Aug 2008 20:34:46 +0000 (20:34 +0000)]
Revert r39062 "Avoid running some queries multiple times by caching the result"
This complicates the code with extra internal caching for extremely rare cases (a couple extra queries on non-existent pages).
Brion Vibber [Sun, 10 Aug 2008 20:10:37 +0000 (20:10 +0000)]
More style cleanup -- encapsulate the page name class along with the naemspace classes.
* Reduce code duplication
* Fix Modern class since my last commit
* Update offline skin for DumpHTML
Brion Vibber [Sun, 10 Aug 2008 20:01:38 +0000 (20:01 +0000)]
Revert r39055 for now "Optional 'edit notices' on a per-namespace and per-page basis, per feature request 15102"
Sanitizer::escapeClass() isn't really suitable for constructing message key names; a lot of names won't be easy to predict and it would be difficult for people to set up a custom message for, say, a page name containing punctuation or non-ASCII characters.
The check for message availability is using wfMsgForContent() for the content language, but then the output is done via $wgOut->addWikiMsg() which will use the UI language. Is this the desired behavior?
Brion Vibber [Sun, 10 Aug 2008 19:48:30 +0000 (19:48 +0000)]
Cleanup for r39054 "Bug 15079, 'Add class="ns-talk" / "ns-subject" to <body>', also added ns-special for special pages."
* Avoid code duplication between Skin and SkinTemplate
* Encapsulate namespace class logic into one function
* Split giant huge line of ?:s with legible code :)
Siebrand Mazeland [Sun, 10 Aug 2008 18:32:10 +0000 (18:32 +0000)]
* (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar() for 13 localisations (be, be-tarask, bs, cs, dsb, ga, gsw, hsb, hu, lv, rmy, sk, sl) removed. The settings have been put in extension WikimediaMessages. For be, be-tarask, bs, dsb, hsb some duplicates (1=1) were removed. Patch for Czech by Danny B.
* Also put the wgGrammarForms from the Wikimedia configuration in here, so everything is in one place. Bonus with this setup is that there will be a little less work for Wikimedia shell operators, as the wgGrammarForms configuration is now accessible to i18n committers.
* Header for WikimediaMessages.php, and add myself to extension credits.
WARNING to Wikimedia shell operators: the whole section "wgGrammarForms" in InitialiseSettings.php.html should be remove after updating to this version. It will most probably overrule all settings in WikimediaMessages because of "'default' => array()"
Alexandre Emsenhuber [Sun, 10 Aug 2008 18:17:09 +0000 (18:17 +0000)]
Fix for r38784: force the noconvertlink toggle to be marked as used, otherwise it is in the Misc section if not used
Chad Horohoe [Sun, 10 Aug 2008 16:48:15 +0000 (16:48 +0000)]
Cleanup to r39058. Slightly less code than before. Same result :)
Chad Horohoe [Sun, 10 Aug 2008 16:19:09 +0000 (16:19 +0000)]
Use wfMkdirParents() because it's cooler (and mkdir() would've failed on parent directory creation without the 'recursive' flag). Also removed an icky hardcoded directory mode. Sadly, this does not fix bug 15108 :p
Niklas Laxström [Sun, 10 Aug 2008 11:59:55 +0000 (11:59 +0000)]
* Removed accidentally committed debugging
Niklas Laxström [Sun, 10 Aug 2008 10:44:52 +0000 (10:44 +0000)]
* (bug 15105) Restoring polish linktrail due to r38751
- candidate for backporting